import React, { Component } from 'react'
import './index.css';
export default class Video extends Component {

    render() {
        return (
            <div onClick={this.qiehuan} className="video-container">
                <video width="100%" src={this.props.src} autoPlay controls></video>
            </div>
        )
    }

    qiehuan = () => {
        //
        this.props.change();
    }

}
